package strategy;

public class CashContext {
    private CashStrategy cashStrategy;

    public CashContext(CashStrategy cashStrategy) {
        this.cashStrategy = cashStrategy;
    }

    public double calculateResult(double money) {
        return cashStrategy.calculateCash(money);
    }
}
